package com.lcf.system.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：用户基本表
 *
 * @author lcf
 * @since 2025/3/2 22:46
 */
@Data
@NoArgsConstructor
public class SysUserPasswordDTO {
    @Schema(description = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    String oldPassword;
    @Schema(description = "新密码")
    @NotBlank(message = "新密码不能为空")
    String newPassword;
}
